package com.jhgk.jhcee.system.service;

import com.jhgk.jhcee.common.resultful.BasisResultful;
import org.springframework.transaction.annotation.Transactional;

/**
 * @Description:
 * @Author: lemon_xzp
 * @Date: 2021/9/30 17:23
 */
public interface SysUserOrgRelationService {

    /**
     * 添加关联关系
     */
    @Transactional
    BasisResultful<Object> addRelation(Long userId,Long orgId);

    /**
     * 移除关联关系
     */
    @Transactional
    BasisResultful<Object> delRelation(Long userId,Long orgId);

    /**
     * 更新关联关系
     */
    @Transactional
    BasisResultful<Object> updateRelation(Long userId, Long orgId);
}
